import os
from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
    # package_name='navigation'
    # ekf_params = os.path.join(get_package_share_directory(package_name),'config','ekf.yaml')
    return LaunchDescription([
        Node(
        package='robot_localization',
        executable='ekf_node',
        name='ekf_filter_node',
        output='screen',
        parameters=['/home/fwy/nav_ws/src/fishbot_navigation2/param/ekf.yaml']
        )
    ])
